﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Moon.Sql
{
    public interface IBatch
    {
        void AttachDeleteable<T>(IDeleteable<T> deleteable);
        void AttachInsertable<T>(IInsertable<T> insertable);
        void AttachUpdateable<T>(IUpdateable<T> updateable);

        int Execute();
        Task<int> ExecuteAsync();
    }
}
